<?php

$text = 'abcde';
echo $text[0] . "\n"; // a
echo $text[2] . "\n"; // c
echo $text[4] . "\n"; // e